<?php

namespace Controller\Admin;

class Welcome extends Common {
    public function __construct() {
        parent::__construct();
    }
    public function info() {
        $data = [
            'today' => [
                'visits' => 1900,
                'newUsers' => 145
            ],
            'week' => [
                'visits' => 200,
                'newUsers' => 245
            ],
            'month' => [
                'visits' => 301,
                'newUsers' => 345
            ],
            'yesterday' => [
                'visits' => 401,
                'newUsers' => 445
            ],
            'lastweek' => [
                'visits' => 501,
                'newUsers' => 545
            ],
            'lastmonth' => [
                'visits' => 601,
                'newUsers' => 645
            ],
            'day30' => [
                'visits' => 700,
                'newUsers' => 745
            ],
        ];
        $this->success($data);
    }
}
